package com.zzl.springboot_mybatis_demo.service.annotation.impl;

import com.zzl.springboot_mybatis_demo.aspect.MyAnnotation;
import com.zzl.springboot_mybatis_demo.service.annotation.MyAnnotationService;
import org.springframework.stereotype.Service;

/**
 * Description：测试自定义注解服务接口实现类
 * Created by 朱正磊 on 2019-08-25 20:50
 */
@Service
public class MyAnnotationServiceImpl implements MyAnnotationService {

    @Override
    @MyAnnotation(value = "#name", key = "come on")
    public String getName(String name) {
        System.out.println(name + " 进来！");
        return name;
    }

}
